package cn.angleline.cloudhub.easbi.eas.entity

import java.math.BigDecimal
import java.sql.Timestamp
import javax.persistence.Column
import javax.persistence.Entity
import javax.persistence.Id
import javax.persistence.Table

@Entity
@Table(name = "T_CAS_ReceivingBillEntry")
data class TCasReceivingBillEntry(
        @Id
        @Column(name = "FID")
        var fid: String? = null,
        @Column(name = "FSeq")
        var fSeq: Int? = null,
        @Column(name = "FAmount")
        var fAmount: BigDecimal? = null,
        @Column(name = "FAmountVc")
        var fAmountVc: BigDecimal? = null,
        @Column(name = "FLocalAmount")
        var fLocalAmount: BigDecimal? = null,
        @Column(name = "FLocalAmtVc")
        var fLocalAmtVc: BigDecimal? = null,
        @Column(name = "FUnVcAmount")
        var fUnVcAmount: BigDecimal? = null,
        @Column(name = "FUnVcLocAmount")
        var fUnVcLocAmount: BigDecimal? = null,
        @Column(name = "FUnVerifyExgRateLoc")
        var fUnVerifyExgRateLoc: BigDecimal? = null,
        @Column(name = "FRebate")
        var fRebate: BigDecimal? = null,
        @Column(name = "FRebateAmtVc")
        var fRebateAmtVc: BigDecimal? = null,
        @Column(name = "FRebateLocAmt")
        var fRebateLocAmt: BigDecimal? = null,
        @Column(name = "FRebateLocAmtVc")
        var fRebateLocAmtVc: BigDecimal? = null,
        @Column(name = "FActualAmt")
        var fActualAmt: BigDecimal? = null,
        @Column(name = "FActualAmtVc")
        var fActualAmtVc: BigDecimal? = null,
        @Column(name = "FActualLocAmt")
        var fActualLocAmt: BigDecimal? = null,
        @Column(name = "FActualLocAmtVc")
        var fActualLocAmtVc: BigDecimal? = null,
        @Column(name = "FRemark")
        var fRemark: String? = null,
        @Column(name = "FLockAmt")
        var fLockAmt: BigDecimal? = null,
        @Column(name = "FLockLocAmt")
        var fLockLocAmt: BigDecimal? = null,
        @Column(name = "FUnLockAmt")
        var fUnLockAmt: BigDecimal? = null,
        @Column(name = "FUnLockLocAmt")
        var fUnLockLocAmt: BigDecimal? = null,
        @Column(name = "FSourceBillId")
        var fSourceBillId: String? = null,
        @Column(name = "FSourceBillEntryId")
        var fSourceBillEntryId: String? = null,
        @Column(name = "FVcStatus")
        var fVcStatus: Int = 0,
        @Column(name = "FReceivingBillID")
        var fReceivingBillId: String? = null,
        @Column(name = "FBizDate")
        var fBizDate: Timestamp? = null,
        @Column(name = "FBizBillNumber")
        var fBizBillNumber: String? = null,
        @Column(name = "FCustomerBillNum")
        var fCustomerBillNum: String? = null,
        @Column(name = "FReceiptNumber")
        var fReceiptNumber: String? = null,
        @Column(name = "FReceiptID")
        var fReceiptId: String? = null,
        @Column(name = "FHisUnVcAmount")
        var fHisUnVcAmount: BigDecimal? = null,
        @Column(name = "FHisUnVcLocAmount")
        var fHisUnVcLocAmount: BigDecimal? = null,
        @Column(name = "FCoreBillTypeId")
        var fCoreBillTypeId: String? = null,
        @Column(name = "FCoreBillId")
        var fCoreBillId: String? = null,
        @Column(name = "FCoreBillEntryId")
        var fCoreBillEntryId: String? = null,
        @Column(name = "FCoreBillNumber")
        var fCoreBillNumber: String? = null,
        @Column(name = "FCoreBillEntrySeq")
        var fCoreBillEntrySeq: Int? = null,
        @Column(name = "FTrackNumber")
        var fTrackNumber: String? = null,
        @Column(name = "FArPrintBillId")
        var fArPrintBillId: String? = null,
        @Column(name = "FArPrintBillEntryId")
        var fArPrintBillEntryId: String? = null,
        @Column(name = "FCurrencyId")
        var fCurrencyId: String? = null,
        @Column(name = "FSourceBillAsstActID")
        var fSourceBillAsstActId: String? = null,
        @Column(name = "FOppAccountID")
        var fOppAccountId: String? = null,
        @Column(name = "FFpItemID")
        var fFpItemId: String? = null,
        @Column(name = "FOtherBillTransAsstTypeId")
        var fOtherBillTransAsstTypeId: String? = null,
        @Column(name = "FExpenseTypeID")
        var fExpenseTypeId: String? = null,
        @Column(name = "FRecBillTypeID")
        var fRecBillTypeId: String? = null,
        @Column(name = "FContractNumber")
        var fContractNumber: String? = null,
        @Column(name = "FContractEntrySeq")
        var fContractEntrySeq: Int? = null,
        @Column(name = "FContractBillID")
        var fContractBillId: String? = null,
        @Column(name = "FContractEntryID")
        var fContractEntryId: String? = null,
        @Column(name = "FMatchedAmount")
        var fMatchedAmount: BigDecimal? = null,
        @Column(name = "FMatchedAmountLoc")
        var fMatchedAmountLoc: BigDecimal? = null,
        @Column(name = "FOutBgItemId")
        var fOutBgItemId: String? = null,
        @Column(name = "FOutBgItemName")
        var fOutBgItemName: String? = null,
        @Column(name = "FOutBgItemNumber")
        var fOutBgItemNumber: String? = null,
        @Column(name = "FOppBgItemId")
        var fOppBgItemId: String? = null,
        @Column(name = "FOppBgItemName")
        var fOppBgItemName: String? = null,
        @Column(name = "FOppBgItemNumber")
        var fOppBgItemNumber: String? = null,
        @Column(name = "FProjectID")
        var fProjectId: String? = null,
        @Column(name = "FTrackNumberID")
        var fTrackNumberId: String? = null,
        @Column(name = "FCostCenterID")
        var fCostCenterId: String? = null,
        @Column(name = "FFundFlowItemID")
        var fFundFlowItemId: String? = null
        )